#import "YQPGoodInfoModel.h"

#import <UIKit/UIKit.h>
#import "MYSelectBaseView.h"
NS_ASSUME_NONNULL_BEGIN
typedef void(^SpecificationsCancelBlack)(void);
typedef void(^SpecificationsResultBlack)(YQPSpuSaleAttrValueListModel *selectedModel);
typedef void(^UpdateGoodsInfoResultBlack)(YQPGoodInfoModel *infoModel);

@protocol MYShopAttrSlectDelegate  <NSObject>

/// 商品详情属性选择事件
/// @param model <#model description#>
- (void)didSelectGoodAttr:(YQPSpuSaleAttrValueListModel *)model;

@end

@interface MYShopDetailsSpecificationsSelectView : MYSelectBaseView

@property (nonatomic, weak) id<MYShopAttrSlectDelegate> delegate;

@property (strong, nonatomic) YQPSkuInfoModel *model;

@property (nonatomic, strong) NSArray *attrArr;

@property (strong, nonatomic) NSMutableArray *attrArray;

+ (void)showShopSearchScreenViewWithModel:(YQPSkuInfoModel *)model andAttr:(NSArray *)attrArr ResultBlack
:(SpecificationsResultBlack)resultBlack updateGoodsInfoBlack:(UpdateGoodsInfoResultBlack)updateGoodsInfoBlack 
cancelBlack:(SpecificationsCancelBlack)cancelBlack;

@end

NS_ASSUME_NONNULL_END



